/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package testapplication.sprite;

/**
 *
 * @author Fabio
 */

import rawengine.graphics.Texture;
import rawengine.math.Vector2f;

/**
    A Fly is a Creature that fly slowly in the air.
*/
public class Fly extends Creature {

    public Fly(String name, Texture image, Vector2f boundsCollision)
    {
        super(name, image, boundsCollision);
    }


    @Override
    public float getMaxSpeed() {
        return 0.2f;
    }


    @Override
    public boolean isFlying() {
        return isAlive();
    }

}